<template>
  <div>
    <el-tabs v-model="activeName" class="demo-tabs">
      <el-tab-pane label="Demo演示" name="first">
        <Demo></Demo>
      </el-tab-pane>
      <el-tab-pane label="案例" v-if="activeName == 'second'" name="second">
        <Demo1></Demo1>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup>
  import Demo from './Demo.vue';
  import Demo1 from './Demo1.vue';
  const activeName = ref('first');
</script>

<style lang="scss" scoped></style>
